# ~~~
# - Config file for the PcapPlusPlus package
# It defines the following variables
#  PcapPlusPlus_INCLUDE_DIRS - include directories for PcapPlusPlus
#  PcapPlusPlus_LIBRARIES    - libraries to link against
# ~~~

@PACKAGE_INIT@

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/modules")

include(CMakeFindDependencyMacro)

set_and_check(PcapPlusPlus_INCLUDE_DIR
              ${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_INCLUDEDIR@/pcapplusplus)

if(UNIX)
  set(THREADS_PREFER_PTHREAD_FLAG ON)
endif()
find_dependency(Threads)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")

@_PCAPPP_CONFIG_DEPENDENCY@

include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")

check_required_components(@PROJECT_NAME@)
